<!-- Navigasi bar -->
<section id="atas">
    <div class="row-fluid">
        <div class="span12">
            <div class="navbar ">
                <div class="navbar-inner">
                    <ul class="nav">
                        <li class="
                        <?php
                        if ($this->uri->segment(2) == 'home') {
                            echo'active';
                        }
                        ?>">
                                <?php echo anchor('dosen/home', '<i class=" icon-home"></i> Home') ?>
                        </li>
                        <li class="dropdown
                        <?php
                        if ($this->uri->segment(2) == 'password' || $this->uri->segment(2) == 'email') {
                            echo'active';
                        }
                        ?>">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Account <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li class="
                                <?php
                                if ($this->uri->segment(2) == 'password') {
                                    echo'active';
                                }
                                ?>">
                                        <?php echo anchor('dosen/password', '<i class="icon-lock"></i> Change Password') ?>
                                </li>
                                <li class="
                                <?php
                                if ($this->uri->segment(2) == 'email') {
                                    echo'active';
                                }
                                ?>">
                                        <?php echo anchor('dosen/profil', '<i class="icon-lock"></i> Change Profil') ?>
                                </li>
                                <li>
                                    <?php echo anchor('main/logout', '<i class="icon-off"></i> Logout') ?>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>